package com.gu.service;

import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.stereotype.Service;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.PathVariable;

import java.util.Map;

/**
 * Description:
 *
 * @Autor: Rolin
 * datetime: 06-20-15:38
 */
@FeignClient(value = "service-edu")
@Service
public interface CourseClient {

    @GetMapping("/eduService/course/getCourse/{id}")
    public Map<String,Object> getCourseForOrder(@PathVariable("id")String courseId);
}
